package com.young.springdemo.service.BuildModelTest;

public class MainModelBuilder extends ModelBuilder {
    @Override
    public void buildMenu() {
        model.setMenu("我是menu");
    }

    @Override
    public void buildPlayList() {
        model.setPlayList("我是播放类别");
    }

    @Override
    public void buildMainWindow() {
        model.setMainWindow("我是主菜单");
    }

    @Override
    public void buildController() {
        model.setController("我是控制条");
    }

    @Override
    public void buildMemoryList() {
        model.setMemoryList("我是收藏列表");
    }

    public boolean isMain(){
        return true;
    }
}
